<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="icon" href="/static/favicon.ico">
    <title>登陆</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath }/js/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${pageContext.request.contextPath }/css/public.css" media="all" />
</head>
<body class="loginBody">
    <form class="layui-form" action="${pageContext.request.contextPath }/toLogin">
        <div class="login_face"><img src="${pageContext.request.contextPath }/images/face.jpg" class="userAvatar"></div>
        <div class="layui-form-item input-item">
            <label for="username">用户名</label>
            <input type="text" placeholder="请输入用户名" autocomplete="off" id="username" name="userName" class="layui-input" lay-verify="required">
        </div>
        <div class="layui-form-item input-item">
            <label for="password">密码</label>
            <input type="password" placeholder="请输入密码" autocomplete="off" id="password" name="password" class="layui-input" lay-verify="required">
        </div>
        <div class="layui-form-item">
            <input type="submit" class="layui-btn layui-block" id="login">
           <%-- <button class="layui-btn layui-block" lay-filter="login" id="login" lay-submit>登录</button>--%>
        </div>
    </form>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/html5.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/respond.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/common/jquery.min.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="${pageContext.request.contextPath }/js/login.js"></script>
</body>
</html>
